package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 信息列表对象 message
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息id  */
    private Long id;

    /** 帖子 */
    @Excel(name = "帖子")
    private String posttie;

    /** 文章 */
    @Excel(name = "文章")
    private String article;

    /** 评论 */
    @Excel(name = "评论")
    private String review;

    /** 文件 */
    @Excel(name = "文件")
    private String document;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPosttie(String posttie) 
    {
        this.posttie = posttie;
    }

    public String getPosttie() 
    {
        return posttie;
    }
    public void setArticle(String article) 
    {
        this.article = article;
    }

    public String getArticle() 
    {
        return article;
    }
    public void setReview(String review) 
    {
        this.review = review;
    }

    public String getReview() 
    {
        return review;
    }
    public void setDocument(String document) 
    {
        this.document = document;
    }

    public String getDocument() 
    {
        return document;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("posttie", getPosttie())
            .append("article", getArticle())
            .append("review", getReview())
            .append("document", getDocument())
            .toString();
    }
}
